/*
	ligregni@freebsd.org
*/

#ifndef _UTIL_FDISK_H_
#define _UTIL_FDISK_H_

#include <sys/types.h>
#include <sys/diskmbr.h>

struct mboot {
	unsigned char *bootinst;  /* boot code */
	off_t bootinst_size;
	struct	dos_partition parts[NDOSPART];
};

struct mboot mboot;

int init_disc(char *);
void log_error(char *);
const char * get_label_name(int);

#endif // _UTIL_FDISK_H_
